package com.oa.ylms.apps.entity.archives;

import java.io.Serializable;
import java.util.Date;

import com.oa.ylms.apps.common.DateUtil;

@SuppressWarnings("serial")
public class RecordInfoValue implements Serializable {

	// Fields

	private Integer recordId;
	private RecordCategoryValue recordCategory;
	private ArchiveInfoValue archiveInfo;
	private Date createTime;
	@SuppressWarnings("unused")
	private String strCreateTime;
	private String messages;

	// Property accessors
	
	public Integer getRecordId() {
		return recordId;
	}
	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}
	public RecordCategoryValue getRecordCategory() {
		return recordCategory;
	}
	public void setRecordCategory(RecordCategoryValue recordCategory) {
		this.recordCategory = recordCategory;
	}
	public ArchiveInfoValue getArchiveInfo() {
		return archiveInfo;
	}
	public void setArchiveInfo(ArchiveInfoValue archiveInfo) {
		this.archiveInfo = archiveInfo;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getMessages() {
		return messages;
	}
	public void setMessages(String messages) {
		this.messages = messages;
	}
	public void setStrCreateTime(String strCreateTime) {
		this.strCreateTime = strCreateTime;
	}
	public String getStrCreateTime() {
		return DateUtil.toStringWithoutHours(createTime);
	}

}
